package dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@Schema(name = "ManagerEditDTO", title = "编辑管理员数据模型", description = "编辑新增管理员时传递的数据模型")
public class ManagerEditDTO {
    @Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "admin")
    private String username;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "admin")
    private String password;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://shop-admin-hdq.oss-cn-beijing.aliyuncs.com/16cb6e46-13cc-4b9a-a82b-f51e16d4fb68.png")
    private String avatar;

    @Schema(description = "角色id", requiredMode = Schema.RequiredMode.REQUIRED, example = "23")
    private Long roleId;

    @Schema(description = "角色封禁状态（0：封禁，1：解封）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

}
